/**
 * Created by shuyi.wu on 2014/12/22.
 */
(function($){
    $(document).ready(function($){
        var $jscrollpane = $('[data-toggle="jscrollpane"]');
        $jscrollpane.each(function(i, el){
            var $self = $(this),
                options = $self.data();
          /* console.log(options);*/
            $self.jScrollPane(options);
        });
    });
})(window.jQuery);